(function () {

    "use strict";

    var api = {
        cashDetail: '/api/cash/cashoutDetail'
    };

    sm.controller('wx-center-cashout-detail-controller', ['$scope', '$http', 'Toast', function ($scope, $http, Toast){

        $scope.lists = [];
        $scope.getDetail = function () {
            $http.get(api.cashDetail).success(function (res) {
                if (res.state) {
                    $scope.lists = res.data;
                }
            });
        };

        $scope.getDetail();

    }]);
})();

